FROM python:3

RUN git clone https://gitee.com/shadaileng/website_python.git && \
pip install -r website_python/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ &&\
mkdir data &&\
python website_python/www/db.py

CMD [ "python", "website_python/www/app.py" ]